package com.zx.BookSeaReader.greendao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @Author: ZX
 * @Time: 2020/4/15
 * @Description: 功能描述
 */
@Entity
public class BookLabelBean implements Serializable {
    @Transient
    private static final long serialVersionUID = 1L;

    @Id(autoincrement = true)
    private Long labelId;
    private String title;//书签名
    private String username;//用户名
    private String bookId;//书籍id
    private int ReadPosition;//记录点
    private String LabelTime;//时间
    private String ChapterName;//章节名
    private int ChapterNum;//历史章节数字
    @Generated(hash = 538350743)
    public BookLabelBean(Long labelId, String title, String username, String bookId,
            int ReadPosition, String LabelTime, String ChapterName,
            int ChapterNum) {
        this.labelId = labelId;
        this.title = title;
        this.username = username;
        this.bookId = bookId;
        this.ReadPosition = ReadPosition;
        this.LabelTime = LabelTime;
        this.ChapterName = ChapterName;
        this.ChapterNum = ChapterNum;
    }
    @Generated(hash = 1327791758)
    public BookLabelBean() {
    }
    public Long getLabelId() {
        return this.labelId;
    }
    public void setLabelId(Long labelId) {
        this.labelId = labelId;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getUsername() {
        return this.username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getBookId() {
        return this.bookId;
    }
    public void setBookId(String bookId) {
        this.bookId = bookId;
    }
    public int getReadPosition() {
        return this.ReadPosition;
    }
    public void setReadPosition(int ReadPosition) {
        this.ReadPosition = ReadPosition;
    }
    public String getLabelTime() {
        return this.LabelTime;
    }
    public void setLabelTime(String LabelTime) {
        this.LabelTime = LabelTime;
    }
    public String getChapterName() {
        return this.ChapterName;
    }
    public void setChapterName(String ChapterName) {
        this.ChapterName = ChapterName;
    }
    public int getChapterNum() {
        return this.ChapterNum;
    }
    public void setChapterNum(int ChapterNum) {
        this.ChapterNum = ChapterNum;
    }
}
